#include "separatorwidget.h"

/*
  Sets the separator to have a vertical orientation.
 */
void SeparatorWidget::setVertical()
{
    this->setFrameShape(QFrame::VLine);
}


/*
  Sets the separator to have a horizontal orientation.
 */
void SeparatorWidget::setHorizontal()
{
    this->setFrameShape(QFrame::HLine);
}

SeparatorWidget::SeparatorWidget(QWidget *parent) :
    QFrame(parent)
{
    this->setFrameShape(QFrame::HLine);
    this->setFrameShadow(QFrame::Sunken);
}
